package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by shidong.wu on 2018/1/27.
 */
@Entity
@Table(name = "t_order")
public class Order implements Serializable {
    @Id
    @Column(name = "order_id")
    private Long orderId;

    @Column(name= "user_id")
    private Long userId;

//    @Column(name = "status")
//    private String status;
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

//    public String getStatus() {
//        return status;
//    }
//
//    public void setStatus(String status) {
//        this.status = status;
//    }
}
